// This file was automatically generated from launcher-deck-web.soy. // Please don't edit this file by hand. if (typeof templates_LauncherDeckContainer == 'undefined') { var templates_LauncherDeckContainer = {}; } templates_LauncherDeckContainer.LauncherDeckContainer = function(opt_data, opt_ignored, opt_ijData) { var output = ''; var defaultPanel__soy3 = opt_data.item.preferences.defaultPanel ? opt_data.item.preferences.defaultPanel.value : ''; var autohideTabs__soy4 = opt_data.item.preferences.autohideTabs ? opt_data.item.preferences.autohideTabs.value : false; var autohideHeader__soy5 = opt_data.item.preferences.autohideHeader ? opt_data.item.preferences.autohideHeader.value : false; var fixDefaultPanel__soy6 = opt_data.item.preferences.fixDefaultPanel ? opt_data.item.preferences.fixDefaultPanel.value.indexOf('true') != -1 : true; var pullRight__soy7 = opt_ijData.direction == 'RTL' ? 'pull-left' : 'pull-right'; var pullLeft__soy8 = opt_ijData.direction == 'RTL' ? 'pull-right' : 'pull-left'; var arrow__soy9 = opt_ijData.direction == 'RTL' ? 'lp-icon-angle-left' : 'lp-icon-angle-right'; output += '
    ' + templates_LauncherDeckContainer.tabs({item: opt_data.item, designmode: opt_ijData.designmode, pullRight: pullRight__soy7, pullLeft: pullLeft__soy8, arrow: arrow__soy9}, null, opt_ijData) + '
'; var childList24 = opt_data.item.children; var childListLen24 = childList24.length; for (var childIndex24 = 0; childIndex24 < childListLen24; childIndex24++) { var childData24 = childList24[childIndex24]; var panel__soy25 = childData24.preferences.panel ? childData24.preferences.panel.value : 'main'; var title__soy26 = childData24.preferences.title ? childData24.preferences.title.value : ''; var icon__soy27 = childData24.preferences.icon ? childData24.preferences.icon.value : 'star'; var default__soy28 = defaultPanel__soy3 != '' && childData24.name.indexOf(defaultPanel__soy3) != -1; var showChrome__soy29 = childData24.preferences.hideChrome ? childData24.preferences.hideChrome.value.indexOf('false') != -1 : true; output += (! (panel__soy25.indexOf('inline') != -1)) ? '
' + ((! default__soy28 && showChrome__soy29) ? '

' + soy.$$escapeHtml(title__soy26) + '

' : '') + '
' + soy.$$filterNoAutoescape("") + '
' : ''; } output += '
'; return output; }; templates_LauncherDeckContainer.tabs = function(opt_data, opt_ignored, opt_ijData) { var output = ''; var childList72 = opt_data.item.children; var childListLen72 = childList72.length; for (var childIndex72 = 0; childIndex72 < childListLen72; childIndex72++) { var childData72 = childList72[childIndex72]; var panel__soy73 = childData72.preferences.panel ? childData72.preferences.panel.value : 'main'; var title__soy74 = childData72.preferences.title ? childData72.preferences.title.value : ''; var icon__soy75 = childData72.preferences.icon ? childData72.preferences.icon.value : 'blank'; var customClasses__soy76 = childData72.preferences.customClasses ? childData72.preferences.customClasses.value : ''; if (panel__soy73 != 'mainhidden' || opt_data.designmode) { output += '
  • ' + ((! (panel__soy73.indexOf('hidden') != -1) || opt_data.designmode) ? '
    ' + soy.$$escapeHtml(title__soy74) + '
    ' : '') + ((panel__soy73.indexOf('inline') != -1) ? '
    ' + soy.$$filterNoAutoescape("") + '
    ' : ''); if (panel__soy73.indexOf('2nd') != -1) { output += ''; } output += '
  • '; } } return output; };